#ifndef SHOPINDEXBROWSER_H
#define SHOPINDEXBROWSER_H

#include "Task.h"

class TaskManager;
class ShopIndexBrowser : public Task
{
    Q_OBJECT

public:
    ShopIndexBrowser(TaskManager *parent);
    ~ShopIndexBrowser();
public:
    void start();
    void waitForFinished();
public:
    void shopIndexArrived(QVariantMap arg);
public:
    QString link;
    QString shopName;
    QString supportKeyword;
private:
    volatile bool _finished = true;
    TaskManager *manager = nullptr;
    
};

#endif // SHOPINDEXBROWSER_H
